package cn.caskm.souvenirshopsystem.service;

import cn.caskm.souvenirshopsystem.domain.Result;
import cn.caskm.souvenirshopsystem.domain.dto.PageDTO;
import cn.caskm.souvenirshopsystem.domain.po.SysBanner;
import cn.caskm.souvenirshopsystem.domain.query.PageQuery;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface SysBannerService extends IService<SysBanner> {

    Result<PageDTO<SysBanner>> page(PageQuery query);
    
    Result<List<SysBanner>> getAll();

    Result<SysBanner> detail(Integer id);

    void saveOrUpdateEntity(SysBanner sysBanner);
}
